.class Lcom/htc/android/footprints/activity/DeleteFootprintsActivity$5;
.super Ljava/lang/Object;
.source "DeleteFootprintsActivity.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;->onCreateDialog(I)Landroid/app/Dialog;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;


# direct methods
.method constructor <init>(Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 295
    iput-object p1, p0, Lcom/htc/android/footprints/activity/DeleteFootprintsActivity$5;->this$0:Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 2
    .parameter "dialog"
    .parameter "which"

    .prologue
    .line 296
    iget-object v1, p0, Lcom/htc/android/footprints/activity/DeleteFootprintsActivity$5;->this$0:Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;

    iget-object v1, v1, Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;->mAdapter:Lcom/htc/android/footprints/activity/DeleteFootprintsActivity$ListModeAdapter;

    invoke-virtual {v1}, Lcom/htc/android/footprints/activity/DeleteFootprintsActivity$ListModeAdapter;->getFootprints()[Lcom/htc/android/footprints/vo/Footprint;

    move-result-object v0

    .line 297
    .local v0, data:[Lcom/htc/android/footprints/vo/Footprint;
    iget-object v1, p0, Lcom/htc/android/footprints/activity/DeleteFootprintsActivity$5;->this$0:Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;

    #calls: Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;->deleteFootprints([Lcom/htc/android/footprints/vo/Footprint;)V
    invoke-static {v1, v0}, Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;->access$800(Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;[Lcom/htc/android/footprints/vo/Footprint;)V

    .line 298
    invoke-interface {p1}, Landroid/content/DialogInterface;->dismiss()V

    .line 299
    iget-object v1, p0, Lcom/htc/android/footprints/activity/DeleteFootprintsActivity$5;->this$0:Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;

    invoke-virtual {v1}, Lcom/htc/android/footprints/activity/DeleteFootprintsActivity;->finish()V

    .line 300
    return-void
.end method
